﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using com.IronOne.BoardPACWinAppBO.General;
using com.IronOne.BoardPACWinAppBO.Sync;
using com.IronOne.BoardPACWinAppBO.Paper;

namespace com.IronOne.BoardPACWinAppDAO.Sync
{
    public interface ISyncDAO
    {
        Task<SyncDataModel> GetSyncHttpPostParameters();
        Task<ResponseDataModel> SaveSyncDownloadDataToLocalDb(DownloadDataModel ddm);
        Task<List<LogDataModel>> GetLogRecords();
        Task<bool> DeleteLogRecord(int logId);
        Task MarkPaperAsDownloaded(int paperId, int versionId);
        Task MarkAnnotationFileAsDownloaded(int paperId, int versionId, int annotationShareId);
        Task<String> GetPaperName(int paperId);

        Task<SyncDataModel> GetAnnotRestoreHttpPostParameters();

        Task<List<PaperModel>> GetAnnotRestoreData();
    }
}